@charset 'utf-8';
@navWidth:240px;
body{
    overflow:hidden;
    min-width: 1124px;
}
.zhuye{
    position: relative;
}
.ivu-layout-header{
    padding: 0 20px;
}
.nav-top{
    .navlogo{
        float: left;
    }
    .right{
        float: right;
        margin-right: 70px;
    }
}
.navside{
    display: inline-block;
    width: @navWidth;
    height: 100vh;
    background: #515a6e;
    transition: width .3s ease;
    #mini{
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    #mini:hover{
        cursor: pointer;
    }
    .menu{
        width: 100% !important;
        white-space: nowrap;
        transition: width .3s ease;
    }
    .mini-menu{
        width: 100%;
        li{
            position: relative;
            width: 100%;
            height: 49px;
            text-align: center;
            line-height: 49px;
            cursor: pointer;
            &:hover ul{
                display: block;
            }
            ul{
                position: absolute;
                top: 0px;
                left: 60px;
                width: 200px;
                z-index: 1000;
                display: none;
                li{
                    padding-left: 30px;
                    text-align: left;
                    list-style: none;
                    color: #d6d6d6;
                    background: #515a6e;
                    &:hover{
                        color: #ffffff;
                    }
                }
            }
        }
    }
}
.location-bar{
    position: absolute;
    top: 60px;
    right: 0px;
    left: 0px;
    box-sizing: border-box;
    background: #f0f0f0;
    cursor: pointer;
    font-size: 0px;
    transition: left .3s ease;
    .next,.pre{
        position: absolute;
        display: inline-block;
        font-size: 28px;
        text-align: center;
        line-height: 35px;
        top: 0px;
        width: 50px;
        height: 40px;
    }
    .next{
        left: 0px;
    }
    .pre{
       right: 100px;
    }
    .location-right{
         position: absolute;
         right: 0px;
         top: 4px;
         display: inline-block;
         vertical-align: middle;
         width: 100px;
         text-align: center;
         color: #FFFFFF;
         font-size: 14px;
         cursor: pointer;
    }
}
.tab-content{
    position: relative;
    display: inline-block;
    width: calc(100vw - 420px);
    height: 40px;
    line-height: 40px;
    margin-left: 50px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    .location-left{
        position: absolute;
        left: 0px;
        display: inline-block;
        vertical-align: middle;
        white-space:nowrap;
        overflow:hidden;
        height: 40px;
        box-sizing: border-box;
        font-size: 0px;
        overflow:hidden;
        transition: left .3s ease;
        i{
            display: inline-block;
            text-align: center;
            line-height: 20px;
            width: 20px;
            height: 20px;
            margin-left: 5px;
            color: #c2c2c2;
            vertical-align: middle;
        }
        i:hover{
            color: #ffffff;
            background: #ff5722;
        }
    }
}
.single-page{
    position: absolute;
    top: 100px;
    left:0px;
    right: 0px;
    height: calc(100vh - 100px);
    padding: 10px;
    background: #e4e4e4;
    overflow-x: hidden;
    overflow-y: auto;
    transition: left .3s ease;
}
